// 页面数据
export const useWebData = () => {
  // 列表数据
  const listData = Object.freeze([
    {
      label: "基础用法",
      dot: true,
      children: [
        {
          url: "https://dummyimage.com/750x350/4BC7F5/fff&text=1"
        },
        {
          url: "https://dummyimage.com/750x350/7A51F5/fff&text=2"
        },
        {
          url: "https://dummyimage.com/750x350/FFB808/fff&text=3"
        }
      ]
    },
    {
      label: "设置文本",
      children: [
        {
          text: "一月不读书，耳目失精爽。",
          url: "https://dummyimage.com/750x350/B32FF5/fff&text=1"
        },
        {
          text: "穷且益坚，不坠青云之志。",
          url: "https://dummyimage.com/750x350/F53698/fff&text=2"
        },
        {
          text: "我见青山多妩媚，料青山见我应如是。",
          url: "https://dummyimage.com/750x350/F5A02E/fff&text=3"
        }
      ]
    },
    {
      label: "自定义样式",
      dot: true,
      height: 150,
      children: [
        {
          background: "#4BC7F5"
        },
        {
          background: "#7A51F5"
        },
        {
          background: "#FFB808"
        }
      ]
    },
    {
      label: "自动轮播",
      loop: true,
      height: 150,
      children: [
        {
          text: "青，取之于蓝而青于蓝；冰，水为之而寒于水。",
          background: "#B32FF5"
        },
        {
          text: "路漫漫其修远兮，吾将上下而求索。",
          background: "#F53698"
        },
        {
          text: "尺有所短；寸有所长。物有所不足；智有所不明。",
          background: "#F5A02E"
        }
      ]
    }
  ]);
  return { listData };
};
